package com.ruoyi.system.domain.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TFlupInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TFlupInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFileNumIsNull() {
            addCriterion("file_num is null");
            return (Criteria) this;
        }

        public Criteria andFileNumIsNotNull() {
            addCriterion("file_num is not null");
            return (Criteria) this;
        }

        public Criteria andFileNumEqualTo(String value) {
            addCriterion("file_num =", value, "fileNum");
            return (Criteria) this;
        }

        public Criteria andFileNumNotEqualTo(String value) {
            addCriterion("file_num <>", value, "fileNum");
            return (Criteria) this;
        }

        public Criteria andFileNumGreaterThan(String value) {
            addCriterion("file_num >", value, "fileNum");
            return (Criteria) this;
        }

        public Criteria andFileNumGreaterThanOrEqualTo(String value) {
            addCriterion("file_num >=", value, "fileNum");
            return (Criteria) this;
        }

        public Criteria andFileNumLessThan(String value) {
            addCriterion("file_num <", value, "fileNum");
            return (Criteria) this;
        }

        public Criteria andFileNumLessThanOrEqualTo(String value) {
            addCriterion("file_num <=", value, "fileNum");
            return (Criteria) this;
        }

        public Criteria andFileNumLike(String value) {
            addCriterion("file_num like", value, "fileNum");
            return (Criteria) this;
        }

        public Criteria andFileNumNotLike(String value) {
            addCriterion("file_num not like", value, "fileNum");
            return (Criteria) this;
        }

        public Criteria andFileNumIn(List<String> values) {
            addCriterion("file_num in", values, "fileNum");
            return (Criteria) this;
        }

        public Criteria andFileNumNotIn(List<String> values) {
            addCriterion("file_num not in", values, "fileNum");
            return (Criteria) this;
        }

        public Criteria andFileNumBetween(String value1, String value2) {
            addCriterion("file_num between", value1, value2, "fileNum");
            return (Criteria) this;
        }

        public Criteria andFileNumNotBetween(String value1, String value2) {
            addCriterion("file_num not between", value1, value2, "fileNum");
            return (Criteria) this;
        }

        public Criteria andIdcardIsNull() {
            addCriterion("idcard is null");
            return (Criteria) this;
        }

        public Criteria andIdcardIsNotNull() {
            addCriterion("idcard is not null");
            return (Criteria) this;
        }

        public Criteria andIdcardEqualTo(String value) {
            addCriterion("idcard =", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotEqualTo(String value) {
            addCriterion("idcard <>", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardGreaterThan(String value) {
            addCriterion("idcard >", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardGreaterThanOrEqualTo(String value) {
            addCriterion("idcard >=", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLessThan(String value) {
            addCriterion("idcard <", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLessThanOrEqualTo(String value) {
            addCriterion("idcard <=", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLike(String value) {
            addCriterion("idcard like", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotLike(String value) {
            addCriterion("idcard not like", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardIn(List<String> values) {
            addCriterion("idcard in", values, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotIn(List<String> values) {
            addCriterion("idcard not in", values, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardBetween(String value1, String value2) {
            addCriterion("idcard between", value1, value2, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotBetween(String value1, String value2) {
            addCriterion("idcard not between", value1, value2, "idcard");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(Byte value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(Byte value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(Byte value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(Byte value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(Byte value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(Byte value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<Byte> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<Byte> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(Byte value1, Byte value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(Byte value1, Byte value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andAgeIsNull() {
            addCriterion("age is null");
            return (Criteria) this;
        }

        public Criteria andAgeIsNotNull() {
            addCriterion("age is not null");
            return (Criteria) this;
        }

        public Criteria andAgeEqualTo(Integer value) {
            addCriterion("age =", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotEqualTo(Integer value) {
            addCriterion("age <>", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThan(Integer value) {
            addCriterion("age >", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("age >=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThan(Integer value) {
            addCriterion("age <", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThanOrEqualTo(Integer value) {
            addCriterion("age <=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeIn(List<Integer> values) {
            addCriterion("age in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotIn(List<Integer> values) {
            addCriterion("age not in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeBetween(Integer value1, Integer value2) {
            addCriterion("age between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("age not between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andEnterTimeIsNull() {
            addCriterion("enter_time is null");
            return (Criteria) this;
        }

        public Criteria andEnterTimeIsNotNull() {
            addCriterion("enter_time is not null");
            return (Criteria) this;
        }

        public Criteria andEnterTimeEqualTo(Date value) {
            addCriterion("enter_time =", value, "enterTime");
            return (Criteria) this;
        }

        public Criteria andEnterTimeNotEqualTo(Date value) {
            addCriterion("enter_time <>", value, "enterTime");
            return (Criteria) this;
        }

        public Criteria andEnterTimeGreaterThan(Date value) {
            addCriterion("enter_time >", value, "enterTime");
            return (Criteria) this;
        }

        public Criteria andEnterTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("enter_time >=", value, "enterTime");
            return (Criteria) this;
        }

        public Criteria andEnterTimeLessThan(Date value) {
            addCriterion("enter_time <", value, "enterTime");
            return (Criteria) this;
        }

        public Criteria andEnterTimeLessThanOrEqualTo(Date value) {
            addCriterion("enter_time <=", value, "enterTime");
            return (Criteria) this;
        }

        public Criteria andEnterTimeIn(List<Date> values) {
            addCriterion("enter_time in", values, "enterTime");
            return (Criteria) this;
        }

        public Criteria andEnterTimeNotIn(List<Date> values) {
            addCriterion("enter_time not in", values, "enterTime");
            return (Criteria) this;
        }

        public Criteria andEnterTimeBetween(Date value1, Date value2) {
            addCriterion("enter_time between", value1, value2, "enterTime");
            return (Criteria) this;
        }

        public Criteria andEnterTimeNotBetween(Date value1, Date value2) {
            addCriterion("enter_time not between", value1, value2, "enterTime");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeIsNull() {
            addCriterion("leave_time is null");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeIsNotNull() {
            addCriterion("leave_time is not null");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeEqualTo(Date value) {
            addCriterion("leave_time =", value, "leaveTime");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeNotEqualTo(Date value) {
            addCriterion("leave_time <>", value, "leaveTime");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeGreaterThan(Date value) {
            addCriterion("leave_time >", value, "leaveTime");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("leave_time >=", value, "leaveTime");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeLessThan(Date value) {
            addCriterion("leave_time <", value, "leaveTime");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeLessThanOrEqualTo(Date value) {
            addCriterion("leave_time <=", value, "leaveTime");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeIn(List<Date> values) {
            addCriterion("leave_time in", values, "leaveTime");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeNotIn(List<Date> values) {
            addCriterion("leave_time not in", values, "leaveTime");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeBetween(Date value1, Date value2) {
            addCriterion("leave_time between", value1, value2, "leaveTime");
            return (Criteria) this;
        }

        public Criteria andLeaveTimeNotBetween(Date value1, Date value2) {
            addCriterion("leave_time not between", value1, value2, "leaveTime");
            return (Criteria) this;
        }

        public Criteria andRiskLevelIsNull() {
            addCriterion("risk_level is null");
            return (Criteria) this;
        }

        public Criteria andRiskLevelIsNotNull() {
            addCriterion("risk_level is not null");
            return (Criteria) this;
        }

        public Criteria andRiskLevelEqualTo(Byte value) {
            addCriterion("risk_level =", value, "riskLevel");
            return (Criteria) this;
        }

        public Criteria andRiskLevelNotEqualTo(Byte value) {
            addCriterion("risk_level <>", value, "riskLevel");
            return (Criteria) this;
        }

        public Criteria andRiskLevelGreaterThan(Byte value) {
            addCriterion("risk_level >", value, "riskLevel");
            return (Criteria) this;
        }

        public Criteria andRiskLevelGreaterThanOrEqualTo(Byte value) {
            addCriterion("risk_level >=", value, "riskLevel");
            return (Criteria) this;
        }

        public Criteria andRiskLevelLessThan(Byte value) {
            addCriterion("risk_level <", value, "riskLevel");
            return (Criteria) this;
        }

        public Criteria andRiskLevelLessThanOrEqualTo(Byte value) {
            addCriterion("risk_level <=", value, "riskLevel");
            return (Criteria) this;
        }

        public Criteria andRiskLevelIn(List<Byte> values) {
            addCriterion("risk_level in", values, "riskLevel");
            return (Criteria) this;
        }

        public Criteria andRiskLevelNotIn(List<Byte> values) {
            addCriterion("risk_level not in", values, "riskLevel");
            return (Criteria) this;
        }

        public Criteria andRiskLevelBetween(Byte value1, Byte value2) {
            addCriterion("risk_level between", value1, value2, "riskLevel");
            return (Criteria) this;
        }

        public Criteria andRiskLevelNotBetween(Byte value1, Byte value2) {
            addCriterion("risk_level not between", value1, value2, "riskLevel");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeIsNull() {
            addCriterion("treatment_type is null");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeIsNotNull() {
            addCriterion("treatment_type is not null");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeEqualTo(String value) {
            addCriterion("treatment_type =", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeNotEqualTo(String value) {
            addCriterion("treatment_type <>", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeGreaterThan(String value) {
            addCriterion("treatment_type >", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeGreaterThanOrEqualTo(String value) {
            addCriterion("treatment_type >=", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeLessThan(String value) {
            addCriterion("treatment_type <", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeLessThanOrEqualTo(String value) {
            addCriterion("treatment_type <=", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeLike(String value) {
            addCriterion("treatment_type like", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeNotLike(String value) {
            addCriterion("treatment_type not like", value, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeIn(List<String> values) {
            addCriterion("treatment_type in", values, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeNotIn(List<String> values) {
            addCriterion("treatment_type not in", values, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeBetween(String value1, String value2) {
            addCriterion("treatment_type between", value1, value2, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andTreatmentTypeNotBetween(String value1, String value2) {
            addCriterion("treatment_type not between", value1, value2, "treatmentType");
            return (Criteria) this;
        }

        public Criteria andRoundIsNull() {
            addCriterion("round is null");
            return (Criteria) this;
        }

        public Criteria andRoundIsNotNull() {
            addCriterion("round is not null");
            return (Criteria) this;
        }

        public Criteria andRoundEqualTo(Byte value) {
            addCriterion("round =", value, "round");
            return (Criteria) this;
        }

        public Criteria andRoundNotEqualTo(Byte value) {
            addCriterion("round <>", value, "round");
            return (Criteria) this;
        }

        public Criteria andRoundGreaterThan(Byte value) {
            addCriterion("round >", value, "round");
            return (Criteria) this;
        }

        public Criteria andRoundGreaterThanOrEqualTo(Byte value) {
            addCriterion("round >=", value, "round");
            return (Criteria) this;
        }

        public Criteria andRoundLessThan(Byte value) {
            addCriterion("round <", value, "round");
            return (Criteria) this;
        }

        public Criteria andRoundLessThanOrEqualTo(Byte value) {
            addCriterion("round <=", value, "round");
            return (Criteria) this;
        }

        public Criteria andRoundIn(List<Byte> values) {
            addCriterion("round in", values, "round");
            return (Criteria) this;
        }

        public Criteria andRoundNotIn(List<Byte> values) {
            addCriterion("round not in", values, "round");
            return (Criteria) this;
        }

        public Criteria andRoundBetween(Byte value1, Byte value2) {
            addCriterion("round between", value1, value2, "round");
            return (Criteria) this;
        }

        public Criteria andRoundNotBetween(Byte value1, Byte value2) {
            addCriterion("round not between", value1, value2, "round");
            return (Criteria) this;
        }

        public Criteria andFlupTimeIsNull() {
            addCriterion("flup_time is null");
            return (Criteria) this;
        }

        public Criteria andFlupTimeIsNotNull() {
            addCriterion("flup_time is not null");
            return (Criteria) this;
        }

        public Criteria andFlupTimeEqualTo(Date value) {
            addCriterion("flup_time =", value, "flupTime");
            return (Criteria) this;
        }

        public Criteria andFlupTimeNotEqualTo(Date value) {
            addCriterion("flup_time <>", value, "flupTime");
            return (Criteria) this;
        }

        public Criteria andFlupTimeGreaterThan(Date value) {
            addCriterion("flup_time >", value, "flupTime");
            return (Criteria) this;
        }

        public Criteria andFlupTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("flup_time >=", value, "flupTime");
            return (Criteria) this;
        }

        public Criteria andFlupTimeLessThan(Date value) {
            addCriterion("flup_time <", value, "flupTime");
            return (Criteria) this;
        }

        public Criteria andFlupTimeLessThanOrEqualTo(Date value) {
            addCriterion("flup_time <=", value, "flupTime");
            return (Criteria) this;
        }

        public Criteria andFlupTimeIn(List<Date> values) {
            addCriterion("flup_time in", values, "flupTime");
            return (Criteria) this;
        }

        public Criteria andFlupTimeNotIn(List<Date> values) {
            addCriterion("flup_time not in", values, "flupTime");
            return (Criteria) this;
        }

        public Criteria andFlupTimeBetween(Date value1, Date value2) {
            addCriterion("flup_time between", value1, value2, "flupTime");
            return (Criteria) this;
        }

        public Criteria andFlupTimeNotBetween(Date value1, Date value2) {
            addCriterion("flup_time not between", value1, value2, "flupTime");
            return (Criteria) this;
        }

        public Criteria andFlupModeIsNull() {
            addCriterion("flup_mode is null");
            return (Criteria) this;
        }

        public Criteria andFlupModeIsNotNull() {
            addCriterion("flup_mode is not null");
            return (Criteria) this;
        }

        public Criteria andFlupModeEqualTo(Byte value) {
            addCriterion("flup_mode =", value, "flupMode");
            return (Criteria) this;
        }

        public Criteria andFlupModeNotEqualTo(Byte value) {
            addCriterion("flup_mode <>", value, "flupMode");
            return (Criteria) this;
        }

        public Criteria andFlupModeGreaterThan(Byte value) {
            addCriterion("flup_mode >", value, "flupMode");
            return (Criteria) this;
        }

        public Criteria andFlupModeGreaterThanOrEqualTo(Byte value) {
            addCriterion("flup_mode >=", value, "flupMode");
            return (Criteria) this;
        }

        public Criteria andFlupModeLessThan(Byte value) {
            addCriterion("flup_mode <", value, "flupMode");
            return (Criteria) this;
        }

        public Criteria andFlupModeLessThanOrEqualTo(Byte value) {
            addCriterion("flup_mode <=", value, "flupMode");
            return (Criteria) this;
        }

        public Criteria andFlupModeIn(List<Byte> values) {
            addCriterion("flup_mode in", values, "flupMode");
            return (Criteria) this;
        }

        public Criteria andFlupModeNotIn(List<Byte> values) {
            addCriterion("flup_mode not in", values, "flupMode");
            return (Criteria) this;
        }

        public Criteria andFlupModeBetween(Byte value1, Byte value2) {
            addCriterion("flup_mode between", value1, value2, "flupMode");
            return (Criteria) this;
        }

        public Criteria andFlupModeNotBetween(Byte value1, Byte value2) {
            addCriterion("flup_mode not between", value1, value2, "flupMode");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusIsNull() {
            addCriterion("marital_status is null");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusIsNotNull() {
            addCriterion("marital_status is not null");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusEqualTo(Byte value) {
            addCriterion("marital_status =", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusNotEqualTo(Byte value) {
            addCriterion("marital_status <>", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusGreaterThan(Byte value) {
            addCriterion("marital_status >", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("marital_status >=", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusLessThan(Byte value) {
            addCriterion("marital_status <", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusLessThanOrEqualTo(Byte value) {
            addCriterion("marital_status <=", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusIn(List<Byte> values) {
            addCriterion("marital_status in", values, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusNotIn(List<Byte> values) {
            addCriterion("marital_status not in", values, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusBetween(Byte value1, Byte value2) {
            addCriterion("marital_status between", value1, value2, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("marital_status not between", value1, value2, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andPayModeIsNull() {
            addCriterion("pay_mode is null");
            return (Criteria) this;
        }

        public Criteria andPayModeIsNotNull() {
            addCriterion("pay_mode is not null");
            return (Criteria) this;
        }

        public Criteria andPayModeEqualTo(Byte value) {
            addCriterion("pay_mode =", value, "payMode");
            return (Criteria) this;
        }

        public Criteria andPayModeNotEqualTo(Byte value) {
            addCriterion("pay_mode <>", value, "payMode");
            return (Criteria) this;
        }

        public Criteria andPayModeGreaterThan(Byte value) {
            addCriterion("pay_mode >", value, "payMode");
            return (Criteria) this;
        }

        public Criteria andPayModeGreaterThanOrEqualTo(Byte value) {
            addCriterion("pay_mode >=", value, "payMode");
            return (Criteria) this;
        }

        public Criteria andPayModeLessThan(Byte value) {
            addCriterion("pay_mode <", value, "payMode");
            return (Criteria) this;
        }

        public Criteria andPayModeLessThanOrEqualTo(Byte value) {
            addCriterion("pay_mode <=", value, "payMode");
            return (Criteria) this;
        }

        public Criteria andPayModeIn(List<Byte> values) {
            addCriterion("pay_mode in", values, "payMode");
            return (Criteria) this;
        }

        public Criteria andPayModeNotIn(List<Byte> values) {
            addCriterion("pay_mode not in", values, "payMode");
            return (Criteria) this;
        }

        public Criteria andPayModeBetween(Byte value1, Byte value2) {
            addCriterion("pay_mode between", value1, value2, "payMode");
            return (Criteria) this;
        }

        public Criteria andPayModeNotBetween(Byte value1, Byte value2) {
            addCriterion("pay_mode not between", value1, value2, "payMode");
            return (Criteria) this;
        }

        public Criteria andEducationLevelIsNull() {
            addCriterion("education_level is null");
            return (Criteria) this;
        }

        public Criteria andEducationLevelIsNotNull() {
            addCriterion("education_level is not null");
            return (Criteria) this;
        }

        public Criteria andEducationLevelEqualTo(Byte value) {
            addCriterion("education_level =", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelNotEqualTo(Byte value) {
            addCriterion("education_level <>", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelGreaterThan(Byte value) {
            addCriterion("education_level >", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelGreaterThanOrEqualTo(Byte value) {
            addCriterion("education_level >=", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelLessThan(Byte value) {
            addCriterion("education_level <", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelLessThanOrEqualTo(Byte value) {
            addCriterion("education_level <=", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelIn(List<Byte> values) {
            addCriterion("education_level in", values, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelNotIn(List<Byte> values) {
            addCriterion("education_level not in", values, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelBetween(Byte value1, Byte value2) {
            addCriterion("education_level between", value1, value2, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelNotBetween(Byte value1, Byte value2) {
            addCriterion("education_level not between", value1, value2, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andContactNameIsNull() {
            addCriterion("contact_name is null");
            return (Criteria) this;
        }

        public Criteria andContactNameIsNotNull() {
            addCriterion("contact_name is not null");
            return (Criteria) this;
        }

        public Criteria andContactNameEqualTo(String value) {
            addCriterion("contact_name =", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotEqualTo(String value) {
            addCriterion("contact_name <>", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameGreaterThan(String value) {
            addCriterion("contact_name >", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameGreaterThanOrEqualTo(String value) {
            addCriterion("contact_name >=", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLessThan(String value) {
            addCriterion("contact_name <", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLessThanOrEqualTo(String value) {
            addCriterion("contact_name <=", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLike(String value) {
            addCriterion("contact_name like", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotLike(String value) {
            addCriterion("contact_name not like", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameIn(List<String> values) {
            addCriterion("contact_name in", values, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotIn(List<String> values) {
            addCriterion("contact_name not in", values, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameBetween(String value1, String value2) {
            addCriterion("contact_name between", value1, value2, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotBetween(String value1, String value2) {
            addCriterion("contact_name not between", value1, value2, "contactName");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneIsNull() {
            addCriterion("first_phone is null");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneIsNotNull() {
            addCriterion("first_phone is not null");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneEqualTo(String value) {
            addCriterion("first_phone =", value, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneNotEqualTo(String value) {
            addCriterion("first_phone <>", value, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneGreaterThan(String value) {
            addCriterion("first_phone >", value, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("first_phone >=", value, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneLessThan(String value) {
            addCriterion("first_phone <", value, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneLessThanOrEqualTo(String value) {
            addCriterion("first_phone <=", value, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneLike(String value) {
            addCriterion("first_phone like", value, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneNotLike(String value) {
            addCriterion("first_phone not like", value, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneIn(List<String> values) {
            addCriterion("first_phone in", values, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneNotIn(List<String> values) {
            addCriterion("first_phone not in", values, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneBetween(String value1, String value2) {
            addCriterion("first_phone between", value1, value2, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andFirstPhoneNotBetween(String value1, String value2) {
            addCriterion("first_phone not between", value1, value2, "firstPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneIsNull() {
            addCriterion("second_phone is null");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneIsNotNull() {
            addCriterion("second_phone is not null");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneEqualTo(String value) {
            addCriterion("second_phone =", value, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneNotEqualTo(String value) {
            addCriterion("second_phone <>", value, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneGreaterThan(String value) {
            addCriterion("second_phone >", value, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("second_phone >=", value, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneLessThan(String value) {
            addCriterion("second_phone <", value, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneLessThanOrEqualTo(String value) {
            addCriterion("second_phone <=", value, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneLike(String value) {
            addCriterion("second_phone like", value, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneNotLike(String value) {
            addCriterion("second_phone not like", value, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneIn(List<String> values) {
            addCriterion("second_phone in", values, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneNotIn(List<String> values) {
            addCriterion("second_phone not in", values, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneBetween(String value1, String value2) {
            addCriterion("second_phone between", value1, value2, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andSecondPhoneNotBetween(String value1, String value2) {
            addCriterion("second_phone not between", value1, value2, "secondPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneIsNull() {
            addCriterion("third_phone is null");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneIsNotNull() {
            addCriterion("third_phone is not null");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneEqualTo(String value) {
            addCriterion("third_phone =", value, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneNotEqualTo(String value) {
            addCriterion("third_phone <>", value, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneGreaterThan(String value) {
            addCriterion("third_phone >", value, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("third_phone >=", value, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneLessThan(String value) {
            addCriterion("third_phone <", value, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneLessThanOrEqualTo(String value) {
            addCriterion("third_phone <=", value, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneLike(String value) {
            addCriterion("third_phone like", value, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneNotLike(String value) {
            addCriterion("third_phone not like", value, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneIn(List<String> values) {
            addCriterion("third_phone in", values, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneNotIn(List<String> values) {
            addCriterion("third_phone not in", values, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneBetween(String value1, String value2) {
            addCriterion("third_phone between", value1, value2, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andThirdPhoneNotBetween(String value1, String value2) {
            addCriterion("third_phone not between", value1, value2, "thirdPhone");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentIsNull() {
            addCriterion("leave_department is null");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentIsNotNull() {
            addCriterion("leave_department is not null");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentEqualTo(String value) {
            addCriterion("leave_department =", value, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentNotEqualTo(String value) {
            addCriterion("leave_department <>", value, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentGreaterThan(String value) {
            addCriterion("leave_department >", value, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("leave_department >=", value, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentLessThan(String value) {
            addCriterion("leave_department <", value, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentLessThanOrEqualTo(String value) {
            addCriterion("leave_department <=", value, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentLike(String value) {
            addCriterion("leave_department like", value, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentNotLike(String value) {
            addCriterion("leave_department not like", value, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentIn(List<String> values) {
            addCriterion("leave_department in", values, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentNotIn(List<String> values) {
            addCriterion("leave_department not in", values, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentBetween(String value1, String value2) {
            addCriterion("leave_department between", value1, value2, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andLeaveDepartmentNotBetween(String value1, String value2) {
            addCriterion("leave_department not between", value1, value2, "leaveDepartment");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagIsNull() {
            addCriterion("lost_flup_flag is null");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagIsNotNull() {
            addCriterion("lost_flup_flag is not null");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagEqualTo(Byte value) {
            addCriterion("lost_flup_flag =", value, "lostFlupFlag");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagNotEqualTo(Byte value) {
            addCriterion("lost_flup_flag <>", value, "lostFlupFlag");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagGreaterThan(Byte value) {
            addCriterion("lost_flup_flag >", value, "lostFlupFlag");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("lost_flup_flag >=", value, "lostFlupFlag");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagLessThan(Byte value) {
            addCriterion("lost_flup_flag <", value, "lostFlupFlag");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagLessThanOrEqualTo(Byte value) {
            addCriterion("lost_flup_flag <=", value, "lostFlupFlag");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagIn(List<Byte> values) {
            addCriterion("lost_flup_flag in", values, "lostFlupFlag");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagNotIn(List<Byte> values) {
            addCriterion("lost_flup_flag not in", values, "lostFlupFlag");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagBetween(Byte value1, Byte value2) {
            addCriterion("lost_flup_flag between", value1, value2, "lostFlupFlag");
            return (Criteria) this;
        }

        public Criteria andLostFlupFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("lost_flup_flag not between", value1, value2, "lostFlupFlag");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonIsNull() {
            addCriterion("lost_flup_reason is null");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonIsNotNull() {
            addCriterion("lost_flup_reason is not null");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonEqualTo(Byte value) {
            addCriterion("lost_flup_reason =", value, "lostFlupReason");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonNotEqualTo(Byte value) {
            addCriterion("lost_flup_reason <>", value, "lostFlupReason");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonGreaterThan(Byte value) {
            addCriterion("lost_flup_reason >", value, "lostFlupReason");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonGreaterThanOrEqualTo(Byte value) {
            addCriterion("lost_flup_reason >=", value, "lostFlupReason");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonLessThan(Byte value) {
            addCriterion("lost_flup_reason <", value, "lostFlupReason");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonLessThanOrEqualTo(Byte value) {
            addCriterion("lost_flup_reason <=", value, "lostFlupReason");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonIn(List<Byte> values) {
            addCriterion("lost_flup_reason in", values, "lostFlupReason");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonNotIn(List<Byte> values) {
            addCriterion("lost_flup_reason not in", values, "lostFlupReason");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonBetween(Byte value1, Byte value2) {
            addCriterion("lost_flup_reason between", value1, value2, "lostFlupReason");
            return (Criteria) this;
        }

        public Criteria andLostFlupReasonNotBetween(Byte value1, Byte value2) {
            addCriterion("lost_flup_reason not between", value1, value2, "lostFlupReason");
            return (Criteria) this;
        }

        public Criteria andDeathFlagIsNull() {
            addCriterion("death_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeathFlagIsNotNull() {
            addCriterion("death_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeathFlagEqualTo(Byte value) {
            addCriterion("death_flag =", value, "deathFlag");
            return (Criteria) this;
        }

        public Criteria andDeathFlagNotEqualTo(Byte value) {
            addCriterion("death_flag <>", value, "deathFlag");
            return (Criteria) this;
        }

        public Criteria andDeathFlagGreaterThan(Byte value) {
            addCriterion("death_flag >", value, "deathFlag");
            return (Criteria) this;
        }

        public Criteria andDeathFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("death_flag >=", value, "deathFlag");
            return (Criteria) this;
        }

        public Criteria andDeathFlagLessThan(Byte value) {
            addCriterion("death_flag <", value, "deathFlag");
            return (Criteria) this;
        }

        public Criteria andDeathFlagLessThanOrEqualTo(Byte value) {
            addCriterion("death_flag <=", value, "deathFlag");
            return (Criteria) this;
        }

        public Criteria andDeathFlagIn(List<Byte> values) {
            addCriterion("death_flag in", values, "deathFlag");
            return (Criteria) this;
        }

        public Criteria andDeathFlagNotIn(List<Byte> values) {
            addCriterion("death_flag not in", values, "deathFlag");
            return (Criteria) this;
        }

        public Criteria andDeathFlagBetween(Byte value1, Byte value2) {
            addCriterion("death_flag between", value1, value2, "deathFlag");
            return (Criteria) this;
        }

        public Criteria andDeathFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("death_flag not between", value1, value2, "deathFlag");
            return (Criteria) this;
        }

        public Criteria andDeathTimeIsNull() {
            addCriterion("death_time is null");
            return (Criteria) this;
        }

        public Criteria andDeathTimeIsNotNull() {
            addCriterion("death_time is not null");
            return (Criteria) this;
        }

        public Criteria andDeathTimeEqualTo(Date value) {
            addCriterion("death_time =", value, "deathTime");
            return (Criteria) this;
        }

        public Criteria andDeathTimeNotEqualTo(Date value) {
            addCriterion("death_time <>", value, "deathTime");
            return (Criteria) this;
        }

        public Criteria andDeathTimeGreaterThan(Date value) {
            addCriterion("death_time >", value, "deathTime");
            return (Criteria) this;
        }

        public Criteria andDeathTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("death_time >=", value, "deathTime");
            return (Criteria) this;
        }

        public Criteria andDeathTimeLessThan(Date value) {
            addCriterion("death_time <", value, "deathTime");
            return (Criteria) this;
        }

        public Criteria andDeathTimeLessThanOrEqualTo(Date value) {
            addCriterion("death_time <=", value, "deathTime");
            return (Criteria) this;
        }

        public Criteria andDeathTimeIn(List<Date> values) {
            addCriterion("death_time in", values, "deathTime");
            return (Criteria) this;
        }

        public Criteria andDeathTimeNotIn(List<Date> values) {
            addCriterion("death_time not in", values, "deathTime");
            return (Criteria) this;
        }

        public Criteria andDeathTimeBetween(Date value1, Date value2) {
            addCriterion("death_time between", value1, value2, "deathTime");
            return (Criteria) this;
        }

        public Criteria andDeathTimeNotBetween(Date value1, Date value2) {
            addCriterion("death_time not between", value1, value2, "deathTime");
            return (Criteria) this;
        }

        public Criteria andDeathReasonIsNull() {
            addCriterion("death_reason is null");
            return (Criteria) this;
        }

        public Criteria andDeathReasonIsNotNull() {
            addCriterion("death_reason is not null");
            return (Criteria) this;
        }

        public Criteria andDeathReasonEqualTo(Byte value) {
            addCriterion("death_reason =", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonNotEqualTo(Byte value) {
            addCriterion("death_reason <>", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonGreaterThan(Byte value) {
            addCriterion("death_reason >", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonGreaterThanOrEqualTo(Byte value) {
            addCriterion("death_reason >=", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonLessThan(Byte value) {
            addCriterion("death_reason <", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonLessThanOrEqualTo(Byte value) {
            addCriterion("death_reason <=", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonIn(List<Byte> values) {
            addCriterion("death_reason in", values, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonNotIn(List<Byte> values) {
            addCriterion("death_reason not in", values, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonBetween(Byte value1, Byte value2) {
            addCriterion("death_reason between", value1, value2, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonNotBetween(Byte value1, Byte value2) {
            addCriterion("death_reason not between", value1, value2, "deathReason");
            return (Criteria) this;
        }

        public Criteria andFlupFlagIsNull() {
            addCriterion("flup_flag is null");
            return (Criteria) this;
        }

        public Criteria andFlupFlagIsNotNull() {
            addCriterion("flup_flag is not null");
            return (Criteria) this;
        }

        public Criteria andFlupFlagEqualTo(Byte value) {
            addCriterion("flup_flag =", value, "flupFlag");
            return (Criteria) this;
        }

        public Criteria andFlupFlagNotEqualTo(Byte value) {
            addCriterion("flup_flag <>", value, "flupFlag");
            return (Criteria) this;
        }

        public Criteria andFlupFlagGreaterThan(Byte value) {
            addCriterion("flup_flag >", value, "flupFlag");
            return (Criteria) this;
        }

        public Criteria andFlupFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("flup_flag >=", value, "flupFlag");
            return (Criteria) this;
        }

        public Criteria andFlupFlagLessThan(Byte value) {
            addCriterion("flup_flag <", value, "flupFlag");
            return (Criteria) this;
        }

        public Criteria andFlupFlagLessThanOrEqualTo(Byte value) {
            addCriterion("flup_flag <=", value, "flupFlag");
            return (Criteria) this;
        }

        public Criteria andFlupFlagIn(List<Byte> values) {
            addCriterion("flup_flag in", values, "flupFlag");
            return (Criteria) this;
        }

        public Criteria andFlupFlagNotIn(List<Byte> values) {
            addCriterion("flup_flag not in", values, "flupFlag");
            return (Criteria) this;
        }

        public Criteria andFlupFlagBetween(Byte value1, Byte value2) {
            addCriterion("flup_flag between", value1, value2, "flupFlag");
            return (Criteria) this;
        }

        public Criteria andFlupFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("flup_flag not between", value1, value2, "flupFlag");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIsNull() {
            addCriterion("audit_status is null");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIsNotNull() {
            addCriterion("audit_status is not null");
            return (Criteria) this;
        }

        public Criteria andAuditStatusEqualTo(Byte value) {
            addCriterion("audit_status =", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotEqualTo(Byte value) {
            addCriterion("audit_status <>", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusGreaterThan(Byte value) {
            addCriterion("audit_status >", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("audit_status >=", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusLessThan(Byte value) {
            addCriterion("audit_status <", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusLessThanOrEqualTo(Byte value) {
            addCriterion("audit_status <=", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIn(List<Byte> values) {
            addCriterion("audit_status in", values, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotIn(List<Byte> values) {
            addCriterion("audit_status not in", values, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusBetween(Byte value1, Byte value2) {
            addCriterion("audit_status between", value1, value2, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("audit_status not between", value1, value2, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(Byte value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(Byte value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(Byte value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(Byte value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(Byte value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<Byte> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<Byte> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(Byte value1, Byte value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andSourceIsNull() {
            addCriterion("source is null");
            return (Criteria) this;
        }

        public Criteria andSourceIsNotNull() {
            addCriterion("source is not null");
            return (Criteria) this;
        }

        public Criteria andSourceEqualTo(Byte value) {
            addCriterion("source =", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotEqualTo(Byte value) {
            addCriterion("source <>", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThan(Byte value) {
            addCriterion("source >", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceGreaterThanOrEqualTo(Byte value) {
            addCriterion("source >=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThan(Byte value) {
            addCriterion("source <", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceLessThanOrEqualTo(Byte value) {
            addCriterion("source <=", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceIn(List<Byte> values) {
            addCriterion("source in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotIn(List<Byte> values) {
            addCriterion("source not in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceBetween(Byte value1, Byte value2) {
            addCriterion("source between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotBetween(Byte value1, Byte value2) {
            addCriterion("source not between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}